RICE UNIVERSITY Behavioral Software Contracts by Robert Bruce

نویسندگان

  • Robert Bruce Findler
  • Matthias Felleisen
  • Keith D. Cooper
  • Michael Barlow
  • Matthew Flatt
  • Kevin Charter
  • John Clements
  • Cormac Flanagan
  • Paul Graunke
  • Philippe Meunier
  • Jamie Raymond
  • Paul Steckler
  • Mario Latendresse
  • Gregory T. Sullivan
چکیده

To sustain a market for software components, component producers and consumers must agree on contracts. These contracts must specify each party’s obligations. To ensure that both sides meet their obligations, they must also agree on standards for monitoring contracts and assigning blame for contract violations. This dissertation explores these issues for contracts that specify the sequential behavior of methods and procedures as preand post-conditions. In the process, it makes three main contributions: First, this dissertation shows how existing contract checking systems for objectoriented languages incorrectly enforce contracts in the presence of subtyping. This dissertation shows how to check such contracts properly. Second, this dissertation shows how to enforce preand post-condition style contracts on higher-order procedures and correctly assign blame for contract violations in that context. Finally, this dissertation lays the groundwork for a theory of contract checking, in the spirit of the theory for type checking. In particular, it states and proves the first soundness result for contracts, guaranteeing that the contract checker properly enforces contracts and properly assigns blame for contract violations.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Behavioral Interface Contracts for Java (Rice University CS TR00-366)

Programs should consist of off-the-shelf, interchangeable, black-box components that are produced by a network of independent software companies. These components should not only come with type signatures but also with contracts that describe other aspects of their behavior. One way to express contracts is to state preand postconditions for externally visible functions. These preand post-condit...

متن کامل

" A NYU JOURNAL OF L . Aw & LIBERTY BEHAVIORAL LAW AND ECONOMICS , PATERNALISM , AND CONSUMER CONTRACTS : AN EMPIRICAL PERSPECTIVE

Modern legal scholars frequently and increasingly base their analyses on the assumption, grounded largely in the extensive experimental literature, that individuals are subject to a number of systematic behavioral biases. Within the legal literature, behavioral economic analysis has been relied upon to generate a significant number of proposals for paternalistic regulation. These proposals are ...

متن کامل

No More Scapegoating

Behavioral software contracts supplement interface information with logical assertions. A rigorous enforcement of contracts provides useful feedback to developers if it signals contract violations as soon as they occur and if it assigns blame to violators with precise explanations. Correct blame assignment gets programmers started with the debugging process and can significantly decrease the ti...

متن کامل

Object-oriented Programming Languages Need Well-founded Contracts

Over the past few years, the notion of building software from components has become popular again. The goal is to produce systems by adapting and linking off-the-shelf modules from a pool of interchangeable components. To turn this idea into reality, the formal descriptions of software components need to specify more than the type signatures of their exported services. At a minimum, they should...

متن کامل

Contracts: an Empirical Perspective

Modern legal scholars frequently and increasingly base their analyses on the assumption, grounded largely in the extensive experimental literature, that individuals are subject to a number of systematic behavioral biases. Within the legal literature, behavioral economic analysis has been relied upon to generate a significant number of proposals for paternalistic regulation. These proposals are ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002